package com.pitaya.avatar.service;

import java.util.ArrayList;
import java.util.List;

import com.pitaya.avatar.domain.Area;
import com.pitaya.avatar.domain.House;
import com.pitaya.avatar.domain.School;


public interface ISchoolService {
	public List<School> find(School school);
	public boolean add(School school);
	public boolean renew(School school);
	public boolean remove(School school);
	public List<School> getAllSchoolsByCity(String city);
	public List<House> getHouseBySchool(School school);
	public List<Area> getHousesByCluster(School school, String type);
	public ArrayList<School> searchSchools(String city, String key);
}
